﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo06
{
    class Class1
    {
        static string TeacherName { get; set; }
        string StudentName { get; set; }

        public Class1()
        {
            TeacherName = "唐僧";
        }

        public Class1(string studentName)
        {
            TeacherName = "唐僧";
            this.StudentName = studentName;
        }

        public void SelfIntroduction()
        {
            Console.WriteLine("大家好，我是{0}，俺老师叫{1}", this.StudentName, TeacherName);
        }

        public static void ShiftTeacher()
        {
            TeacherName = "嫦娥姐姐";

        }
        }
}
